Test whether redirects to index.html